import Dashboard from '../views/dashboard/Index';
// import Icon from '../views/icon/Index';
import Error404 from '../views/error/Error404';
import Error500 from '../views/error/Error500';
// import LineChart from '../views/chart/LineChart';
// import Keyboard from '../views/chart/KeyBoard';
// import BarChart from '../views/chart/BarChart';
// import PieChart from '../views/chart/PieChart';
// import MixinChart from '../views/chart/MixinChart';
// import Intercept from '../views/permission/Intercept';
// import Toggle from '../views/permission/Toggle';
// import TableBasic from '../views/table/TableBasic';
// import TableSearch from '../views/table/TableSearch';
// import BasicForm from '../views/form/BasicForm';
// import Editor from '../views/form/TextEditor';
// import News from '../views/news/News';
// import MarkDown from '../views/form/MarkDown';
// import BasicTree from '../views/control/BasicTree';
// import BasicSelect from '../views/control/BasicSelect';
// import Other from '../views/control/Other';
// import MenuOne from '../views/levelMenu/MenuOne';
// import MenuTwo from '../views/levelMenu/MenuTwo';
// import About from '../views/about/About';

import MenuManage from '../views/settings/MenuManage';
import RoleManage from '../views/settings/RoleManage';
import DepartmentManage from '../views/settings/DepartmentManage';
import UserManage from '../views/settings/UserManage';
import Log from '../views/settings/Log';
// import TestMenu from '../views/testMenu/index';

//设备管理
//-台账
import EquipmentList from '../views/EquipmentManagement/EquipmentList';
//-台账---新增子设备
import AddEquipmentChildren from '../views/EquipmentManagement/AddEquipmentChildren';
//-盘点
import EquipmentInventory from '../views/EquipmentManagement/EquipmentInventory';
//-运行记录
import RunningRecord from '../views/EquipmentManagement/RunningRecord';

//维修保养
//-故障报修 FaultReport
import FaultReport from '../views/Maintenance/FaultReport';
//-维修工单 RepairWorkOrder
import RepairWorkOrder from '../views/Maintenance/RepairWorkOrder';
//-维修工单 快速派单
import AddRepairWorkOrder from '../views/Maintenance/AddRepairWorkOrder';
//-维修工单 详情
import RepairWorkOrderDetails from '../views/Maintenance/RepairWorkOrderDetails';
//-维修工单 执行维修
import DetailRepairWorkOrder from '../views/Maintenance/DetailRepairWorkOrder';
//-维修计划 MaintenancePlan
import MaintenancePlan from '../views/Maintenance/MaintenancePlan';
//-维修计划 --新增
import AddPlans from '../views/Maintenance/AddPlans';
//-维修计划 --新增
import DetailsPlan from '../views/Maintenance/DetailsPlan';
//-维修计划 --执行计划
import PlayMaintenancePlan from '../views/Maintenance/PlayMaintenancePlan';
//-维修年计划 MaintenanceYearPlan
import MaintenanceYearPlan from '../views/Maintenance/MaintenanceYearPlan';
//-维修记录 MaintenanceRecords
import MaintenanceRecords from '../views/Maintenance/MaintenanceRecords';
//-维修记录 MaintenanceRecords----详情
import DetailMaintenanceRecords from '../views/Maintenance/DetailMaintenanceRecords';
//-保养工单 MaintenanceWorkOrder
import MaintenanceWorkOrder from '../views/Maintenance/MaintenanceWorkOrder';
import MaintenanceWorkOrderDetail from '../views/Maintenance/MaintenanceWorkOrderDetail';
//-外委维修 OutsourcingMaintenance
import OutsourcingMaintenance from '../views/Maintenance/OutsourcingMaintenance';
//-保养计划 MaintenanceProgram
import MaintenanceProgram from '../views/Maintenance/MaintenanceProgram';
import MaintenanceProgramDetail from '../views/Maintenance/MaintenanceProgramDetail';
import MaintenanceProgramDetail2 from '../views/Maintenance/MaintenanceProgramDetail2';
import MaintenanceProgramDetail3 from '../views/Maintenance/MaintenanceProgramDetail3';

//-保养记录 MaintenanceLogs
import MaintenanceLogs from '../views/Maintenance/MaintenanceLogs';
//-保养要求 MaintenanceRequirements
import MaintenanceRequirements from '../views/Maintenance/MaintenanceRequirements';
//-维保经验 MaintenanceExperience
import MaintenanceExperience from '../views/Maintenance/MaintenanceExperience';

//参数设置
//-公共配置->设备参数配置->故障类型 FaultType
import FaultType from '../views/parameterSettings/EquipmentParameterConfiguration/FaultType';
//-公共配置->设备参数配置->编码规则 EncodingRules
import EncodingRules from '../views/parameterSettings/EquipmentParameterConfiguration/EncodingRules';
//-公共配置->设备参数配置->设备类型 EquipmentType
import EquipmentType from '../views/parameterSettings/EquipmentParameterConfiguration/EquipmentType';
//-公共配置->设备参数配置->设备列表 DeviceList
import DeviceList from '../views/parameterSettings/EquipmentParameterConfiguration/DeviceList';
//-公共配置->设备参数配置->下拉参数 DropDownParameter
import DropDownParameter from '../views/parameterSettings/EquipmentParameterConfiguration/DropDownParameter';
//-公共配置->通用配置
import GeneralSettings from '../views/parameterSettings/CommonConfiguration/GeneralSettings';
//-公共配置->往来单位
import CurrentUnit from '../views/parameterSettings/CommonConfiguration/CurrentUnit';
//-公共配置->租用单位
import TenantUnit from '../views/parameterSettings/CommonConfiguration/TenantUnit';
//-公共配置->班组
import TeamGroups from '../views/parameterSettings/CommonConfiguration/TeamGroups';
//-公共配置->报表配置
import ReportConfiguration from '../views/parameterSettings/CommonConfiguration/ReportConfiguration';
//-备件参数设置->出入库类型
// import InventoryType from '../views/parameterSettings/QuipmentConfiguration/InventoryType';
//-系统管理->审核流程
import AuditProcess from '../views/parameterSettings/SystemsManagement/AuditProcess';
//-系统管理->文档类型
import DocumentType from '../views/parameterSettings/SystemsManagement/DocumentType';
//-系统管理->推送记录
import PushRecord from '../views/parameterSettings/SystemsManagement/PushRecord';
//-系统管理->单位信息
import UnitInformation from '../views/parameterSettings/SystemsManagement/UnitInformation';

//检验/巡检
//-巡检->巡检计划
import CheckOutPlan from '../views/parameterSettings/CheckOut/CheckOutPlan';
import CheckOutPlanDetail from '../views/parameterSettings/CheckOut/CheckOutPlanDetail';
//-巡检->巡检记录
import CheckOutRecord from '../views/parameterSettings/CheckOut/CheckOutRecord';
import CheckOutRecordDetail from '../views/parameterSettings/CheckOut/CheckOutRecordDetail';
//-巡检->巡检标准
import CheckOutStandard from '../views/parameterSettings/CheckOut/CheckOutStandard';
import CheckOutStandardDetail from '../views/parameterSettings/CheckOut/CheckOutStandardDetail';

// 统计报表

// 设备故障诊断---设备类型透视分析
import equipmentTypeAnalyse from '../views/EquipmentReporting/equipmentTypeAnalyse';
// 设备故障诊断---设备部门透视分析
import departmentAnalyse from '../views/EquipmentReporting/departmentAnalyse';
// 设备故障诊断---单台设备排行
import SingleDeviceRanking from '../views/EquipmentReporting/SingleDeviceRanking';


// 巡检统计 ---计划执行统计
import PlanExecutionStatistics from '../views/EquipmentReporting/PlanExecutionStatistics'
// 巡检统计  ---巡检设备执行统计
import inspectionEquipmentStatistics from '../views/EquipmentReporting/inspectionEquipmentStatistics'
// 巡检统计  ---巡检标准执行统计
import inspectionStandardExecute from '../views/EquipmentReporting/inspectionStandardExecute'


// 维修统计 ---维修分类统计
import maintenanceStatistics from '../views/EquipmentReporting/maintenanceStatistics'

// 设备分析 ---维保对比分析
import ComparativeAnalysisOfMaintenance from '../views/EquipmentReporting/ComparativeAnalysisOfMaintenance'
// 设备分析 ---保养记录统计
import MaintenanceRecordStatistics from '../views/EquipmentReporting/MaintenanceRecordStatistics'

export const routes = [
	{ path: '/dashboard', component: Dashboard },
	// { path: '/icon', component: Icon },
	// { path: '/form/basic', component: BasicForm },
	// { path: '/form/editor', component: Editor },
	// { path: '/form/markdown', component: MarkDown },
	// { path: '/menu/level/submenu-1', component: MenuOne },
	// { path: '/menu/level/submenu-2', component: MenuTwo },
	// { path: '/table/basic', component: TableBasic },
	// { path: '/table/search', component: TableSearch },
	// { path: '/chart/line', component: LineChart },
	// { path: '/chart/keyboard', component: Keyboard },
	// { path: '/chart/bar', component: BarChart },
	// { path: '/chart/pie', component: PieChart },
	// { path: '/chart/mixin', component: MixinChart },
	// { path: '/control/tree', component: BasicTree },
	// { path: '/control/select', component: BasicSelect },
	// { path: '/control/other', component: Other },
	// { path: '/permission/toggle', component: Toggle, permission: 1 },
	// { path: '/permission/intercept', component: Intercept },
	// { path: '/news', component: News },
	{ path: '/error/404', component: Error404 },
	{ path: '/error/500', component: Error500 },
	// { path: '/about', component: About },

	{ path: '/MenuManage', component: MenuManage },
	{ path: '/RoleManage', component: RoleManage },
	{ path: '/UserManage', component: UserManage },
	{ path: '/DepartmentManage', component: DepartmentManage },
	{ path: '/Log', component: Log },
	// { path: '/TestMenu', component: TestMenu },

	//设备管理
	//-台账
	{ path: '/EquipmentList', component: EquipmentList },
	//-台账---新增子设备
	{ path: '/AddEquipmentChildren/:id', component: AddEquipmentChildren },
	//-盘点
	{ path: '/EquipmentInventory', component: EquipmentInventory },
	//-运行记录
	{ path: '/RunningRecord', component: RunningRecord },

	//维修保养
	//-故障报修 FaultReport
	{ path: '/FaultReport', component: FaultReport },
	//-维修工单 RepairWorkOrder
	{ path: '/RepairWorkOrder', component: RepairWorkOrder },
	//-维修工单 快速派单
	{ path: '/AddRepairWorkOrder/:id', component: AddRepairWorkOrder },
	//-维修工单 执行维修
	{ path: '/DetailRepairWorkOrder/:id', component: DetailRepairWorkOrder },
	//-维修工单 详情
	{ path: '/RepairWorkOrderDetails/:id', component: RepairWorkOrderDetails },
	//-维修计划 MaintenancePlan
	{ path: '/MaintenancePlan', component: MaintenancePlan },
	//-维修计划 ---新增
	{ path: '/AddPlans/:id', component: AddPlans },
	//-维修计划 ---详情
	{ path: '/DetailsPlan/:id', component: DetailsPlan },
	//-维修计划 ---执行计划
	{ path: '/PlayMaintenancePlan/:id', component: PlayMaintenancePlan },
	//-维修年计划 MaintenanceYearPlan
	{ path: '/MaintenanceYearPlan', component: MaintenanceYearPlan },
	//-维修记录 MaintenanceRecords
	{ path: '/MaintenanceRecords', component: MaintenanceRecords },
	// 维修记录详情
	{ path: '/DetailMaintenanceRecords/:id', component: DetailMaintenanceRecords },
	//-保养工单 MaintenanceWorkOrder
	{ path: '/MaintenanceWorkOrder', component: MaintenanceWorkOrder },
	{ path: '/MaintenanceWorkOrderDetail/:id', component: MaintenanceWorkOrderDetail },
	{ path: '/MaintenanceWorkOrderDetail', component: MaintenanceWorkOrderDetail },
	//-外委维修 OutsourcingMaintenance
	{ path: '/OutsourcingMaintenance', component: OutsourcingMaintenance },
	//-保养计划 MaintenanceProgram
	{ path: '/MaintenanceProgram', component: MaintenanceProgram },
	{ path: '/MaintenanceProgramDetail/:id', component: MaintenanceProgramDetail },
	{ path: '/MaintenanceProgramDetail', component: MaintenanceProgramDetail },
	{ path: '/MaintenanceProgramDetail2/:id', component: MaintenanceProgramDetail2 },
	{ path: '/MaintenanceProgramDetail3/:id', component: MaintenanceProgramDetail3 },
	//-保养记录 MaintenanceLogs
	{ path: '/MaintenanceLogs', component: MaintenanceLogs },
	//-保养要求 MaintenanceRequirements
	{ path: '/MaintenanceRequirements', component: MaintenanceRequirements },
	//-维保经验 MaintenanceExperience
	{ path: '/MaintenanceExperience', component: MaintenanceExperience },

	//参数设置
	//-公共配置->设备参数配置->故障类型 FaultType
	{ path: '/FaultType', component: FaultType },
	//-公共配置->设备参数配置->编码规则 EncodingRules
	{ path: '/EncodingRules', component: EncodingRules },
	//-公共配置->设备参数配置->设备类型 EquipmentType
	{ path: '/EquipmentType', component: EquipmentType },
	//-公共配置->设备参数配置->设备隐藏/显示 DeviceList
	{ path: '/DeviceList', component: DeviceList },
	//-公共配置->设备参数配置->下拉参数 DropDownParameter
	{ path: '/DropDownParameter', component: DropDownParameter },
	//-公共配置->通用设置
	{ path: '/GeneralSettings', component: GeneralSettings },
	//-公共配置->往来单位
	{ path: '/CurrentUnit', component: CurrentUnit },
	//-公共配置->租用单位
	{ path: '/TenantUnit', component: TenantUnit },
	//-公共配置->班组
	{ path: '/TeamGroups', component: TeamGroups },
	//-公共配置->报表配置
	{ path: '/ReportConfiguration', component: ReportConfiguration },
	//-备件参数设置->出入库类型
	// { path: '/InventoryType', component: InventoryType }
	//系统管理->审核流程
	{ path: '/AuditProcess', component: AuditProcess },
	//系统管理->文档类型
	{ path: '/DocumentType', component: DocumentType },
	//系统管理->推送记录
	{ path: '/PushRecord', component: PushRecord },
	//系统管理->单位信息
	{ path: '/UnitInformation', component: UnitInformation },

	//检验/巡检
	//-巡检->巡检计划
	{ path: '/CheckOutPlan', component: CheckOutPlan },
	{ path: '/CheckOutPlanDetail/:id', component: CheckOutPlanDetail },
	{ path: '/CheckOutPlanDetail', component: CheckOutPlanDetail },
	{ path: '/CheckOutRecord', component: CheckOutRecord },
	{ path: '/CheckOutRecordDetail/:id', component: CheckOutRecordDetail },
	{ path: '/CheckOutStandard', component: CheckOutStandard },
	{ path: '/CheckOutStandardDetail/:id', component: CheckOutStandardDetail },
	{ path: '/CheckOutStandardDetail', component: CheckOutStandardDetail },

	// 统计报表
	// 设备故障诊断---设备类型透视分析
	{ path: '/equipmentTypeAnalyse', component: equipmentTypeAnalyse },
	// 设备故障诊断---设备部门透视分析
	{ path: '/departmentAnalyse', component: departmentAnalyse },
	// 设备故障诊断---单台设备排行
	{ path: '/SingleDeviceRanking', component: SingleDeviceRanking },
	
	// 巡检统计 ---计划执行统计
	{ path: '/PlanExecutionStatistics', component: PlanExecutionStatistics },
	// 巡检统计  ---巡检设备执行统计
	{ path: '/inspectionEquipmentStatistics', component: inspectionEquipmentStatistics },
	// 巡检统计  ---巡检标准执行统计
	{ path: '/inspectionStandardExecute', component: inspectionStandardExecute },

	// 维修统计 ---维修分类统计
	{ path: '/maintenanceStatistics', component: maintenanceStatistics },

	// 设备分析 ---维保对比分析
	{ path: '/ComparativeAnalysisOfMaintenance', component: ComparativeAnalysisOfMaintenance },
	// 设备分析 ---保养记录统计
	{ path: '/MaintenanceRecordStatistics', component: MaintenanceRecordStatistics },

];
